package com.rdc.qingkou.contract;

import android.content.Intent;
import android.net.Uri;

import com.rdc.qingkou.entity.SendContentBean;
import com.rdc.qingkou.presenter.ipresenter.IBasePresenter;

import io.reactivex.disposables.Disposable;


public class SendContract {
    public interface View {
        void takePhoto(Uri uri);
        void openAlbum();
        void setPhotoImage();
        void addLabel(String label);
        void preview(String data);
        void playOrRecord(String data);
        void setAlbumImage(String imagePath);
        SendContentBean getSendBean();
        void jumpToHomePage();
        void showLoadingDialog();
        void dimissLoadingDialog();
        void showFailure();
        void finishActivity();
        void setDisposable(Disposable disposable);




    }

    public interface PresenterI extends IBasePresenter<View> {
        void takePhoto();
        void chooseAlbum();
       void setAlbumPhoto(Intent intent);
        void send();

    }
}
